package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 车务管理表
 * </p>
 *
 * @author LX
 * @since 2018-09-13
 */
@TableName("erp_driver_repair")
public class ErpDriverRepair extends Model<ErpDriverRepair> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer pid;
    /**
     * 维修主管
     */
    @TableField("supervisor_name")
    private String supervisorName;
    /**
     * 维修主管电话
     */
    @TableField("supervisor_phone")
    private String supervisorPhone;
    /**
     * 维修人员1
     */
    @TableField("personnel_name")
    private String personnelName;
    /**
     * 维修人员1电话
     */
    @TableField("personnel_phone")
    private String personnelPhone;
    /**
     * 维修人员2
     */
    @TableField("personnel_nameo")
    private String personnelNameo;
    /**
     * 维修人员2电话
     */
    @TableField("personnel_phoneo")
    private String personnelPhoneo;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getSupervisorName() {
        return supervisorName;
    }

    public void setSupervisorName(String supervisorName) {
        this.supervisorName = supervisorName;
    }

    public String getSupervisorPhone() {
        return supervisorPhone;
    }

    public void setSupervisorPhone(String supervisorPhone) {
        this.supervisorPhone = supervisorPhone;
    }

    public String getPersonnelName() {
        return personnelName;
    }

    public void setPersonnelName(String personnelName) {
        this.personnelName = personnelName;
    }

    public String getPersonnelPhone() {
        return personnelPhone;
    }

    public void setPersonnelPhone(String personnelPhone) {
        this.personnelPhone = personnelPhone;
    }

    public String getPersonnelNameo() {
        return personnelNameo;
    }

    public void setPersonnelNameo(String personnelNameo) {
        this.personnelNameo = personnelNameo;
    }

    public String getPersonnelPhoneo() {
        return personnelPhoneo;
    }

    public void setPersonnelPhoneo(String personnelPhoneo) {
        this.personnelPhoneo = personnelPhoneo;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpDriverRepair{" +
        ", id=" + id +
        ", pid=" + pid +
        ", supervisorName=" + supervisorName +
        ", supervisorPhone=" + supervisorPhone +
        ", personnelName=" + personnelName +
        ", personnelPhone=" + personnelPhone +
        ", personnelNameo=" + personnelNameo +
        ", personnelPhoneo=" + personnelPhoneo +
        "}";
    }
}
